//
//  TestMKUIElementViewSlider.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2025/7/3.
//  Copyright © 2025 moon. All rights reserved.
//

#import <MKUI/MKUI.h>

NS_ASSUME_NONNULL_BEGIN

@interface TestMKUIElementViewSlider : MKUIElementViewDetail
@property(nonatomic,strong) UISlider *sliderView;
@property(nonatomic,assign) CGFloat value;
@property(nonatomic,assign) CGFloat minimumValue;
@property(nonatomic,assign) CGFloat maximumValue;
@property(nonatomic,copy,nullable) void(^whenChange)(TestMKUIElementViewSlider *el,CGFloat value);
@end

@interface TestMKUIElementViewSlider(Test)
+ (TestMKUIElementViewSlider *)testSliderElementWithTitle:(NSString *)title value:(CGFloat)value minimumValue:(CGFloat)minimumValue maximumValue:(CGFloat)maximumValue whenChange:(void(^)(TestMKUIElementViewSlider *el,CGFloat value))block;
@end

NS_ASSUME_NONNULL_END
